<!--输出判断<?php if(!isset($_GET['ajaxlist'])){?>输出判断如果是ajaxlist请求只输出列表-->

<style>
body{
	background:#fff;
}
.distance{
    float: right;
}
.btn-default{
	width:100%;
}
.telhelp{
	font-size:12px;
	margin-left:10px;
}
.order{
	font-size:12px;
	margin-left:10px;
}
.helptitle{
	margin-top:5px;
	margin-bottom:5px;
	font-size: 18px;
	font-weight:600;
}
.auth-row{
	margin:0 0 5px;
	font-size: 12px;
	line-height: 16px;
}
.address{
	margin:0;
	font-size: 12px;
	line-height: 16px;
}
.helplist{
	padding-bottom:10px;
	border-bottom:1px solid #dedede;
	margin-bottom:10px;
}
.row {
    margin-left: 0;
    margin-right: 0;
}
.panel-body {
    padding: 10px;
}
.panel{
	border-radius:0;
	box-shadow: none;
}
</style>


<form id="ajaxlistboxform" action="">
<div class="input-group">
  <input type="text" name="keywords" class="form-control">
  <span class="input-group-btn">
  <button class="btn btn-default" type="submit">搜索</button>
  </span> </div>
<input type="hidden" name="ajaxlist" value="1">
</form>
<div id="ajaxlistbox">这里显示数据</div>
<div id="ajaxlistboxpages"></div>
<!-- <?php if(strtolower(GROUP_NAME) != 'admin'){?> 后台页面编辑时不使用脚本 -->
<script>
$(document).ready(function(e){
    $('#ajaxlistbox').ajaxlist({append:true, scrollload:true});
});    
</script>
<!-- <?php }?> 后台页面编辑时不使用脚本结束 -->


<!--<?php }else{?> 输出数据列表-->
<!-- <?php foreach($list as $key => $vo){?>数据列表开始 -->


 <div class="panel">
                <div class="panel-body">
                <div class="helplist">
                    <div class="row">
                        <div class="col-xs-4" style="padding-left: 0;padding-right: 0px;">
                            <div class="blog-img-sm" >
                                <a href="#"><img src="<?php echo getThumbPath($vo['img_url'], 1);?>" width="80" alt=""></a>
                            </div>
                        </div>
                        <div class="col-xs-8" style="padding-left: 10px;padding-right: 0;">
                            <h1 class="helptitle"><a href="#"><?php echo $vo['shopname'];?></a></h1>
                              <p class="auth-row">
                                <span>评分:</span>
                                <i class="fa fa-star" style="color: #fb910a;"></i>
                                <i class="fa fa-star" style="color: #fb910a;"></i>
                                <i class="fa fa-star" style="color: #fb910a;"></i>
                                <i class="fa fa-star"></i>
                                <i class="fa fa-star"></i>
                                <span class="distance">约39km</span>
                            </p>

                            <p class="address">地址：<?php echo $vo['saddress'];?>
                            </p>
                        </div>
                    </div>
                    
                    <div class="row" style="margin-top:10px;">
                    <div class="col-xs-6" style="padding-left: 0;padding-right: 5px;">
                    <a class="btn btn-default" href="tel:<?php echo $vo['sphone'];?>"><i class="fa fa-phone" style="color:#c70f05;"></i><span class="telhelp">电话救援</span></a>
                    </div>
                    <div class="col-xs-6" style="padding-left: 5px;padding-right: 0;">
                    <a class="btn btn-default" href=""><i class="fa fa-desktop" style="color:#f29919;"></i><span class="order">在线下单</span></a>
                    </div>
                    </div>
                    
                    </div>
                </div>
            </div>




<!-- <?php }?>数据列表结束 -->
<!--<?php }?>输出判断-->